/**
 * AgentSystem
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2018-04-14  Created
 */
package com.lzy.product.dtos.agent;

import com.lzy.framework.template.BaseDomain;

import java.io.Serializable;
import java.util.List;

/**
 * Description: AgentSystem
 * Author: mybatis-generator
 * Version: 1.0
 * Create Date Time: 2018-04-14
 * Update Date Time:
 *
 * @see 'http://www.lzyhll.com'
 */
public class AgentSystemDto implements Serializable {
    /**
     * ID
     */
    private Long id;

    /**
     * 体系名称简称
     */
    private String shortName;

    /**
     * 体系名称全称
     */
    private String name;

    /**
     * 序号
     */
    private Long serial;

    /**
     * 1-主体 2-体系
     */
    private Integer level;

    /**
     * 是否是业务销售员 0 否 1是
     */
    private Integer isSalesman;

    /**
     * 上级编号id(主体id)
     */
    private Long higherId;

    /**
     * 介绍
     */
    private String introduce;

    /**
     * 新增人id
     */
    private Long createUser;

    private String createTime;

    /**
     * 更新人id
     */
    private Long updateUser;

    private String updateTime;

    /**
     *体系子级列表
     */
    private List<AgentSystemDto> childList;

    /**
     * 删除标记（0-正常，1-已删除）
     */
    private Boolean deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName == null ? null : shortName.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getSerial() {
        return serial;
    }

    public void setSerial(Long serial) {
        this.serial = serial;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getHigherId() {
        return higherId;
    }

    public void setHigherId(Long higherId) {
        this.higherId = higherId;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public List<AgentSystemDto> getChildList() {
        return childList;
    }

    public void setChildList(List<AgentSystemDto> childList) {
        this.childList = childList;
    }

    public Integer getIsSalesman() {
        return isSalesman;
    }

    public void setIsSalesman(Integer isSalesman) {
        this.isSalesman = isSalesman;
    }
}